package com.openspring.framework.util;

public class ObjectUtils {

	/**
	 * 判断null或array.length
	 * @param array
	 * @return
	 */
	public static boolean isEmpty(Object[] array) {
		return (array == null || array.length == 0);
	}
	
	/**
	 * null返回空字符串
	 * @param object
	 * @return
	 */
	public static Object parseNull(Object object) {
		return object == null ? "" : object;
	}
}
